home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / sostdu.zip / TOOLBOX.DOC < prev    next >
Text File  |  1993-11-06  |  24KB  |  969 lines

  1.  
  2.  REGISTER ON LINE ON COMPUSERVE AND RECEIVE THE FULL REGISTERED VERSION
  3.                  BY RETURN E-MAIL ( GO SWREG  ID#1468 )
  4.  
  5.                      Solid Oak Software's DOS Tool Box
  6.  
  7.  
  8. Over the past few years we have developed literally hundreds of little DOS
  9. utilities for use on our own development computers.  Some of the utilities
  10. included in this package are duplicated by other companies, but most are not.
  11. The ones that are, are for the most part, easier to use than other similar
  12. utilities.
  13.  
  14. Most of the included utilities are best used in batch files, and most set the
  15. DOS ErrorLevel to help you build conditional batch programs that are really
  16. useful.
  17.  
  18. The following program reference assumes the reader has a reasonable working
  19. knowledge of DOS batch files and DOS commands.  Batch files and errorlevel
  20. checking have been around since the original 1.0 version of DOS.  Many power
  21. users still recognize the usefulness of the venerable batch file, and still
  22. regularly use utilities such as the ones included here, and ones from other
  23. sources.  Batch files can be extremely useful tools when used properly.
  24. The purpose of this reference guide however, is not to be a tutorial on batch
  25. file programming.  Please refer to your DOS reference manual for a more
  26. complete discussion of batch files and ErrorLevels.  There are also several
  27. good books written on DOS batch file programming, both old and new.  Visit your
  28. local computer book store, and you will probably find several of interest.
  29.  
  30.  
  31.                               PROGRAM REFERENCE
  32.  
  33. ASK.COM
  34.  
  35.        Syntax:  ASK q
  36.  
  37.       Options:  q = a question phrase
  38.  
  39.   Description:  Returns ErrorLevel 1 if the answer is (n)o.
  40.  
  41.          Note:  Appends a (Y/n) prompt to the end of the phrase. The user must
  42.                 press a Y or an N to continue. If no key is pressed for a period
  43.                 of one minute or the ENTER key is pressed, a Y or yes is
  44.                 assumed.
  45.  
  46.       Example:  ASK Do you want to continue?
  47.  
  48.  
  49. AUTOBOOT.COM
  50.  
  51.        Syntax:  AUTOBOOT time
  52.  
  53.       Options:  Time must be specified as 00:00 or 00:00:00
  54.                 and must be in military (24 hr) format
  55.  
  56.   Description:  Automatically reboots computer at specified time.
  57.  
  58.       Example:  AUTOBOOT 00:01:00 will reboot the computer at 12:01 am.
  59.                 AUTOBOOT 21:00:00 will reboot the computer at 11:00 PM.
  60.  
  61.  
  62. CANCOPY.COM
  63.  
  64.        Syntax:  CANCOPY filespec target
  65.  
  66.       Options:  filespec = any valid DOS filespec including wild cards.
  67.                 target = destination drive
  68.  
  69.   Description:  Checks to see if there is sufficient space on target drive
  70.                 to copy the specified filespec.  Sets ErrorLevel to 1 if
  71.                 there is not enough space.
  72.  
  73.          Note:  Adds 10% to total filespec space requirements to compensate
  74.                 for slack space needed.
  75.  
  76.  
  77. CHIME.COM
  78.  
  79.        Syntax:  CHIME option
  80.  
  81.       Options:  /n  number of times to chime (Defaults to 1)
  82.                 /c  chime until user presses a key
  83.  
  84.   Description:  Plays a chime sound.
  85.  
  86.  
  87. DEFDRIVE.COM
  88.  
  89.        Syntax:  DEFDRIVE
  90.  
  91.       Options:  None
  92.  
  93.   Description:  Sets the DOS ErrorLevel to the number of the current default
  94.                 drive. ( A=1  B=2  C=3  etc.)
  95.  
  96.  
  97. DIRGE.COM
  98.  
  99.        Syntax:  DIRGE
  100.  
  101.       Options:  None
  102.  
  103.   Description:  Plays "Funeral Dirge".
  104.  
  105.  
  106. DISKLEFT.COM
  107.  
  108.        Syntax:  DISKLEFT d
  109.  
  110.       Options:  d = drive letter (defaults to C:)
  111.  
  112.   Description:  Sets ErrorLevel to remaining free disk space in MB.
  113.  
  114.       Example:  If you have a 200 MB hard disk, and 20 MB free space remaining,
  115.                 the ErrorLevel, in this case, will be set to 20.
  116.  
  117.          Note:  The maximum the ErrorLevel can be set to is 255.  Drives that
  118.                 have over 255 MB free space remaining will not cause the
  119.                 ErrorLevel to be set properly.
  120.  
  121.      See also:  DISKUSED.COM  PCLEFT.COM  PCUSED.COM
  122.  
  123.  
  124. DISKUSED.COM
  125.  
  126.        Syntax:  DISKUSED d
  127.  
  128.       Options:  d = drive letter (defaults to C:)
  129.  
  130.   Description:  Sets ErrorLevel to used disk space in MB.
  131.  
  132.       Example:  If you have a 200 MB hard disk, and 80 MB occupied disk space,
  133.                 the ErrorLevel in this case will be set to 80.
  134.  
  135.          Note:  The maximum the ErrorLevel can be set to is 255.  Drives that
  136.                 have over 255 MB occupied disk space will not cause the
  137.                 ErrorLevel to be set properly.
  138.  
  139.      See also:  DISKLEFT.COM  PCLEFT.COM  PCUSED.COM
  140.  
  141.  
  142. EVERYDAY.COM    Please see file EVERYDAY.DOC for details.
  143.  
  144.  
  145. FAKEBADC.COM
  146.  
  147.        Syntax:  FAKEBADC
  148.  
  149.       Options:  None
  150.  
  151.   Description:  Simulates a hard disk error and locks computer.
  152.  
  153.  
  154. FAKEBADN.COM
  155.  
  156.        Syntax:  FAKEBADN
  157.  
  158.       Options:  None
  159.  
  160.   Description:  Simulates a network error and locks computer.
  161.  
  162.  
  163. FILEKB.COM *
  164.  
  165.        Syntax:  FILEKB filespec
  166.  
  167.       Options:  filespec = valid DOS file name
  168.  
  169.   Description:  Sets ErrorLevel to file size in kilobytes.
  170.  
  171.  
  172. FILEAGE.COM *
  173.  
  174.        Syntax:  FILEAGE filespec
  175.  
  176.       Options:  filespec = valid DOS file name
  177.  
  178.   Description:  Sets ErrorLevel to the specified files age in months.
  179.  
  180.  
  181. FORMFEED.COM
  182.  
  183.        Syntax:  FORMFEED n
  184.  
  185.       Options:  n = parallel port number (defaults to 1)
  186.  
  187.   Description:  Issues a form feed to the specified printer.
  188.  
  189.  
  190. GOTODIR.COM
  191.  
  192.        Syntax:  GOTODIR
  193.  
  194.       Options:  none
  195.  
  196.   Description:  Used in conjunction with SAVEDIR.COM, this program will return
  197.                 you to a previously "saved" drive and directory.
  198.  
  199.      See also:  SAVEDIR.COM
  200.  
  201.  
  202. HDTYPE.COM
  203.  
  204.        Syntax:  HDTYPE n
  205.  
  206.       Options:  n = hard drive number (1 or 2)
  207.  
  208.   Description:  Sets ErrorLevel to drive type of the specified hard disk.
  209.  
  210.  
  211. HIDEDIR.COM
  212.  
  213.        Syntax:  HIDEDIR directory
  214.  
  215.       Options:  directory = directory name to hide
  216.  
  217.   Description:  Hides specified directory.
  218.  
  219.      See Also:  HIDEFILE  SHOWDIR  SHOWFILE
  220.  
  221.  
  222. HIDEFILE.COM
  223.  
  224.        Syntax:  HIDEFILE filename
  225.  
  226.       Options:  filename = file name to hide
  227.  
  228.   Description:  Hides specified file.
  229.  
  230.      See Also:  HIDEDIR  SHOWDIR  SHOWFILE
  231.  
  232.  
  233. ISANSI.COM
  234.  
  235.        Syntax:  ISANSI
  236.  
  237.       Options:  None
  238.  
  239.   Description:  Sets ErrorLevel to 1 if ANSI.SYS is NOT installed.
  240.  
  241.  
  242. ISASSIGN.COM
  243.  
  244.        Syntax:  ISASSIGN
  245.  
  246.       Options:  None
  247.  
  248.   Description:  Sets ErrorLevel to 1 if ASSIGN is NOT installed.
  249.  
  250.  
  251. ISAPPEND.COM
  252.  
  253.        Syntax:  ISAPPEND
  254.  
  255.       Options:  None
  256.  
  257.   Description:  Sets ErrorLevel to 1 if APPEND is NOT installed.
  258.  
  259.  
  260. ISBTWEEN.COM
  261.  
  262.        Syntax:  ISBTWEEN time1 time2
  263.  
  264.       Options:  Time1 and time2 must be specified as 00:00 or 00:00:00
  265.                 and must be in military (24 hr) format.
  266.  
  267.   Description:  Sets ErrorLevel to 1 if the system time is between time1 and
  268.                 time2.  This function is usefull for determining if an action
  269.                 should be performed if the system time is within a given time
  270.                 frame.
  271.  
  272.       Example:  ISBTWEEN 12:00 13:00 would set the DOS errorlevel to 1 if the
  273.                 system time was NOT between 12:00  noon and 1:00 pm.
  274.  
  275.      See also:  ISBTWEEN.COM  ISERLIER.COM  ISITAM.COM  ISITPM.COM  ISWKHRS.COM
  276.  
  277.  
  278. ISCDROM.COM
  279.  
  280.        Syntax:  ISCDROM
  281.  
  282.       Options:  None
  283.  
  284.   Description:  Sets ErrorLevel to 1 if CD Rom is NOT installed.
  285.  
  286.          Note:  This program checks for a CD Rom driver only.
  287.  
  288.  
  289. ISCLOCK.COM
  290.  
  291.        Syntax:  ISCLOCK
  292.  
  293.       Options:  None
  294.  
  295.   Description:  Sets ErrorLevel to 0 if real time clock is installed, 1 if the
  296.                 clock date is set to 01-01-1980, 2 if clock not present.
  297.  
  298.          Note:  If the battery in an AT class computer causes the system to
  299.                 loose its date setting, the date will almost always come up
  300.                 as 01-01-1980. This could be added to an AUTOEXEC.BAT file
  301.                 to check that the date has not been set to the default setting.
  302.  
  303.  
  304. ISCOLOR.COM
  305.  
  306.        Syntax:  ISCOLOR
  307.  
  308.       Options:  None
  309.  
  310.   Description:  Sets ErrorLevel to 1 if color video card is NOT installed.
  311.  
  312.          Note:  Some monochrome systems are CGA compatible and will return
  313.                 an ErrorLevel of 0 even though the monitor displays mono.
  314.  
  315.      See also:  WHATVID.COM
  316.  
  317.  
  318. ISDESQ.COM
  319.  
  320.        Syntax:  ISDESQ
  321.  
  322.       Options:  None
  323.  
  324.   Description:  Sets ErrorLevel to 1 if DesqView is NOT running.
  325.  
  326.  
  327. ISDOSKEY.COM
  328.  
  329.        Syntax:  ISDOSKEY
  330.  
  331.       Options:  None
  332.  
  333.   Description:  Sets ErrorLevel to 1 if DOSKEY is NOT installed.
  334.  
  335.  
  336. ISDRIVE.COM
  337.  
  338.        Syntax:  ISDRIVE drive
  339.  
  340.       Options:  drive = valid drive letter
  341.  
  342.   Description:  Sets ErrorLevel to 1 if specified drive is NOT ready.
  343.  
  344.      See also:  ISFILE.COM
  345.  
  346.  
  347. ISEMS.COM
  348.  
  349.        Syntax:  ISEMS
  350.  
  351.       Options:  None
  352.  
  353.   Description:  Sets ErrorLevel to 1 if EMS driver is NOT installed.
  354.  
  355.  
  356. ISERLIER.COM
  357.  
  358.        Syntax:  ISERLIER time
  359.  
  360.       Options:  Time must be specified as 00:00 or 00:00:00
  361.                 and must be in military (24 hr) format
  362.  
  363.   Description:  Sets ErrorLevel to 1 if the system time is NOT earlier
  364.                 than time specified.
  365.  
  366.      See also:  ISBTWEEN.COM  ISITAM.COM  ISITPM.COM  ISLATER.COM  ISWKHRS.COM
  367.  
  368.  
  369. ISFILE.COM
  370.  
  371.        Syntax:  ISFILE filespec
  372.  
  373.       Options:  filespec is any valid DOS filename or drive letter
  374.  
  375.   Description:  If the specified file does NOT exist, or the drive that was
  376.                 specified is NOT ready, the program sets an ErrorLevel of 1
  377.  
  378.          Note:  This is a useful function to use from batch files if you want
  379.                 to run a program from a floppy disk like a virus detection
  380.                 program.  You can use ISFILE to check that a disk is in the
  381.                 specified drive and that the desired file is on the disk before
  382.                 proceeding.  (i.e. ISFILE b:viruschk.exe)
  383.  
  384.      See also:  ISDRIVE.COM
  385.  
  386.  
  387. ISITAM.COM
  388.  
  389.        Syntax:  ISITAM
  390.  
  391.       Options:  None
  392.  
  393.   Description:  Sets ErrorLevel to 1 if the system time is after 12 noon.
  394.  
  395.      See also:  ISBTWEEN.COM  ISITPM.COM  ISERLIER.COM  ISLATER.COM  ISWKHRS.COM
  396.  
  397. ISITPM.COM
  398.  
  399.        Syntax:  ISITPM
  400.  
  401.       Options:  None
  402.  
  403.   Description:  Sets ErrorLevel to 1 if the system time is before 12 noon.
  404.  
  405.      See also:  ISBTWEEN.COM  ISITAM.COM  ISERLIER.COM  ISLATER.COM  ISWKHRS.COM
  406.  
  407.  
  408. ISLATER.COM
  409.  
  410.        Syntax:  ISLATER time
  411.  
  412.       Options:  Time must be specified as 00:00 or 00:00:00
  413.                 and must be in military (24 hr) format
  414.  
  415.   Description:  Sets ErrorLevel to 1 if the system time is NOT later
  416.                 than time specified.
  417.  
  418.      See also:  ISBTWEEN.COM  ISITAM.COM  ISITPM.COM  ISERLIER.COM  ISWKHRS.COM
  419.  
  420.  
  421. ISMATH.COM
  422.  
  423.        Syntax:  ISMATH
  424.  
  425.       Options:  None
  426.  
  427.   Description:  Sets ErrorLevel to 1 if math chip is NOT installed.
  428.  
  429.  
  430. ISMOUSE.COM
  431.  
  432.        Syntax:  ISMOUSE
  433.  
  434.       Options:  None
  435.  
  436.   Description:  Sets ErrorLevel to 1 if mouse driver is NOT installed.
  437.  
  438.          Note:  This program does not check for the physical presence of a
  439.                 mouse, only the driver (i.e. MOUSE.COM ).
  440.  
  441.  
  442. ISNETBIO.COM
  443.  
  444.        Syntax:  ISNETBIO
  445.  
  446.       Options:  None
  447.  
  448.   Description:  Sets ErrorLevel to 1 if no NETBIOS compatible driver is loaded.
  449.  
  450.  
  451. ISNEWDSK.COM
  452.  
  453.        Syntax:  ISNEWDSK d
  454.  
  455.       Options:  d = drive letter ( A or B )
  456.  
  457.   Description:  Sets ErrorLevel to 1 if specified floppy disk has NOT been
  458.                 changed since last access.
  459.  
  460.          Note:  An empty disk drive will return an ErrorLevel of 1 since a
  461.                 new disk has not been inserted yet.
  462.  
  463.  
  464. ISPRINT.COM
  465.  
  466.        Syntax:  ISPRINT n
  467.  
  468.       Options:  n = parallel port number
  469.  
  470.   Description:  Sets ErrorLevel to 1 if printer is NOT on line and ready.
  471.  
  472.  
  473. ISPRINTX.COM
  474.  
  475.        Syntax:  ISPRINTX
  476.  
  477.       Options:  None
  478.  
  479.   Description:  Sets ErrorLevel to 1 if PRINT.EXE is NOT installed.
  480.  
  481.  
  482. ISREMOVE.COM
  483.  
  484.        Syntax:  ISREMOVE d
  485.  
  486.       Options:  d = drive letter
  487.  
  488.   Description:  Sets ErrorLevel to 1 if specified drive is NOT a removable
  489.                 (floppy) drive type.
  490.  
  491.  
  492. ISSHARE.COM
  493.  
  494.        Syntax:  ISSHARE
  495.  
  496.       Options:  None
  497.  
  498.   Description:  Sets ErrorLevel to 1 if SHARE.EXE is NOT installed.
  499.  
  500.  
  501. ISTEXT.COM
  502.  
  503.        Syntax:  ISTEXT c
  504.  
  505.       Options:  c = any string of text to find
  506.  
  507.   Description:  Scans current screen contents for text specified when run.
  508.                 Sets ErrorLevel to 1 if text is NOT found on screen.
  509.  
  510.       Example:  ISTEXT error
  511.                 If the text "error" is found anywhere on the screen, the
  512.                 ErrorLevel will be set to 0.  Not case sensitive.
  513.  
  514.  
  515. ISTODAY.COM
  516.  
  517.        Syntax:  ISTODAY day [day1] [day2] ...
  518.  
  519.       Options:  day = the name if any day of the week (i.e. Monday Tue )
  520.  
  521.   Description:  Sets ErrorLevel to 1 if system date indicates the current day
  522.                 is NOT one of the days specified.
  523.  
  524.       Example:  ISTODAY Mon tue WED Thursday
  525.                 If the current day of the week is NOT one of the ones
  526.                 specified, the ErrorLevel would be set to one.
  527.  
  528.          Note:  This program is usefull in batch files where you want or don't
  529.                 want an action to be performed on a certain day or group of
  530.                 days.
  531.  
  532.      See also:  ISWKDAY.COM
  533.  
  534.  
  535. ISVOL.COM
  536.  
  537.        Syntax:  ISVOL drive volume
  538.  
  539.       Options:  drive = valid drive letter ( A B C etc.)
  540.                 volume = volume name to check for
  541.  
  542.   Description:  Sets ErrorLevel to 1 if the volume name of the specified drive
  543.                 does NOT match the specified volume name.
  544.  
  545.          Note:  This program is useful in creating installation batch files
  546.                 and other routines where you want to check to see that a
  547.                 particular disk is in a floppy drive.  For example you might
  548.                 have a set of three disks that must be inserted in the correct
  549.                 order.  You could set the volume labels ( see VL.COM ) to
  550.                 DISK1 DISK2 and DISK3. You could then check for the correct
  551.                 volume name with ISVOL.COM before performing an action.
  552.  
  553.  
  554. ISWKDAY.COM
  555.  
  556.        Syntax:  ISWKDAY
  557.  
  558.       Options:  None
  559.  
  560.   Description:  Sets ErrorLevel to 1 if system date indicates the current day
  561.                 is NOT a work day, Mon-Fri.
  562.  
  563.      See also:  ISTODAY.COM
  564.  
  565.  
  566. ISWKHRS.COM
  567.  
  568.        Syntax:  ISWKHRS
  569.  
  570.       Options:  None
  571.  
  572.   Description:  Sets ErrorLevel to 1 if system time indicates the current
  573.                 is NOT between 8am and 5pm.
  574.  
  575.      See also:  ISBTWEEN.COM  ISITAM.COM  ISITPM.COM  ISERLIER.COM  ISLATER.COM
  576.  
  577.  
  578. ISXMS.COM
  579.  
  580.        Syntax:  ISXMS
  581.  
  582.       Options:  None
  583.  
  584.   Description:  Sets ErrorLevel to 0 if an extended memory driver is installed,
  585.                 1 if not.
  586.  
  587.  
  588. LOCKUP.COM
  589.  
  590.        Syntax:  LOCKUP
  591.  
  592.       Options:  None
  593.  
  594.   Description:  Locks up computer forcing re-boot.
  595.  
  596.  
  597. NOBREAK.COM
  598.  
  599.        Syntax:  NOBREAK
  600.  
  601.       Options:  /u (unloads program)
  602.  
  603.   Description:  TSR disables Ctrl-C and Ctrl-Break
  604.  
  605.  
  606. PCLEFT.COM
  607.  
  608.        Syntax:  PCLEFT d
  609.  
  610.       Options:  d = drive letter (defaults to C:)
  611.  
  612.   Description:  Sets ErrorLevel to remaining free disk space in as a percentage
  613.  
  614.       Example:  If you have a 200 MB hard disk, and 20 MB free space remaining,
  615.                 your free disk space is 10%.  The ErrorLevel in this case will
  616.                 be set to 10.
  617.  
  618.      See also:  DISKLEFT.COM  DISKUSED.COM  PCUSED.COM
  619.  
  620.  
  621. PCUSED.COM
  622.  
  623.        Syntax:  PCUSED d
  624.  
  625.       Options:  d = drive letter (defaults to C:)
  626.  
  627.   Description:  Sets ErrorLevel to the amount of occupied (used) disk space
  628.                 as a percentage
  629.  
  630.       Example:  If you have a 200 MB hard disk, and 150 MB of used disk space,
  631.                 your free disk space is 25%.  The ErrorLevel in this case will
  632.                 be set to 25%.
  633.  
  634.      See also:  DISKLEFT.COM  DISKUSED.COM  PCLEFT.COM
  635.  
  636.  
  637. PF.COM
  638.  
  639.        Syntax:  PF filename [/port]
  640.  
  641.       Options:  filename = any valid DOS file specification including wild cards
  642.                 port = optional printer port number (1,2 or 3). Defaults to 1.
  643.  
  644.   Description:  Prints specified file(s) to printer with header indicating time,
  645.                 date, file name, file date, and file size.
  646.  
  647.  
  648. PRTSCRN.COM
  649.  
  650.        Syntax:  PRTSCRN n
  651.  
  652.       Options:  n = parallel port number (defaults to 1)
  653.  
  654.   Description:  Prints current screen and form feed to specified printer. Also
  655.                 date and time stamps printout and specifies network node if
  656.                 installed on a network.
  657.  
  658.  
  659. QFLOPS.COM
  660.  
  661.        Syntax:  QFLOPS
  662.  
  663.       Options:  None
  664.  
  665.   Description:  Sets ErrorLevel to number of floppy drives installed.
  666.  
  667.  
  668. QPPORTS.COM
  669.  
  670.        Syntax:  QPPORTS
  671.  
  672.       Options:  None
  673.  
  674.   Description:  Sets ErrorLevel to number of parallel ports installed.
  675.  
  676.  
  677. QSPORTS.COM
  678.  
  679.        Syntax:  QSPORTS
  680.  
  681.       Options:  None
  682.  
  683.   Description:  Sets ErrorLevel to number of serial ports installed.
  684.  
  685.  
  686. REBOOT.COM
  687.  
  688.        Syntax:  REBOOT
  689.  
  690.       Options:  None
  691.  
  692.   Description:  Reboots computer
  693.  
  694.  
  695. RING.COM
  696.  
  697.        Syntax:  RING option
  698.  
  699.       Options:  /n = number of times to ring (defaults to 1)
  700.                 /c  ring until user presses a key
  701.  
  702.   Description:  Plays a ringing sound.
  703.  
  704.  
  705. SAVEDIR.COM
  706.  
  707.        Syntax:  SAVEDIR
  708.  
  709.       Options:  none
  710.  
  711.   Description:  Used in conjunction with GOTODIR.COM, this program will "save"
  712.                 the current drive and directory information when ever you run
  713.                 the program. You can then run GOTODIR at any time later to
  714.                 return to the original drive and directory.
  715.  
  716.      See also:  GOTODIR.COM
  717.  
  718.  
  719. SAVSCRN.COM
  720.  
  721.        Syntax:  SAVSCRN filespec
  722.  
  723.       Options:  filespec = any valid DOS file name and path
  724.  
  725.   Description:  Captures the current text screen to the specified file. If the
  726.                 file already exists, it will append to the end of the file. It
  727.                 date and time stamps the capture and specifies network node if
  728.                 installed on a network.
  729.  
  730.  
  731. SIREN.COM
  732.  
  733.        Syntax:  SIREN option
  734.  
  735.       Options:  /n = number of times to loop (defaults to 1)
  736.                 /c = loops until user presses a key
  737.  
  738.   Description:  Plays a siren type sound.
  739.  
  740.  
  741. SHOWDIR.COM
  742.  
  743.        Syntax:  SHOWDIR directory
  744.  
  745.       Options:  directory = directory to un-hide
  746.  
  747.   Description:  Un-hides a specified directory previously hidden with HIDEDIR.
  748.  
  749.      See Also:  HIDEDIR  HIDEFILE  SHOWFILE
  750.  
  751.  
  752. SHOWFILE.COM
  753.  
  754.        Syntax:  SHOWFILE filename
  755.  
  756.       Options:  filename = file name to un-hide
  757.  
  758.   Description:  Un-hides a specified file previously hidden with HIDEFILE.
  759.  
  760.      See Also:  HIDEDIR  HIDEFILE  SHOWDIR
  761.  
  762.  
  763. START.COM
  764.  
  765.        Syntax:  START expression
  766.  
  767.       Options:  expression = a comment of some kind.
  768.  
  769.   Description:  Starts a timed event sequence. Not a TSR.
  770.                 Records information in PC-Sentry log file if installed.
  771.  
  772.       Example:  START Word processing
  773.  
  774.  
  775. STOP.COM
  776.  
  777.        Syntax:  STOP
  778.  
  779.       Options:  none
  780.  
  781.   Description:  Displays the elapsed time since START.COM was run.
  782.                 Records information in PC-Sentry log file if installed.
  783.  
  784.  
  785. VL.COM
  786.  
  787.        Syntax:  VL drive volume
  788.  
  789.       Options:  drive = valid drive letter ( A B C etc.)
  790.                 volume = new volume name
  791.  
  792.   Description:  Sets or resets the volume name of the specified drive.
  793.  
  794.  
  795. WAIT.COM
  796.  
  797.        Syntax:  WAIT n
  798.  
  799.       Options:  n = seconds to wait
  800.  
  801.   Description:  Waits a specified number of seconds.
  802.  
  803.  
  804. WEEKOFMO.COM
  805.  
  806.        Syntax:  WEEKOFMO
  807.  
  808.       Options:  None
  809.  
  810.   Description:  Sets ErrorLevel to current week of the month.
  811.  
  812.          Note:  This function returns the actual week of the month, NOT the
  813.                 Nth 7 day period. The actual week is calculated on a 7 day
  814.                 basis from Sunday morning to Saturday night. For example,
  815.                 if the 1st falls on a Wednesday, then Wednesday through Saturday
  816.                 is counted as week 1. In this case, week 1 is actually only
  817.                 4 days long. Week 2 begins with Sunday and is in 7 day cycles
  818.                 after that.
  819.  
  820.     See also:   WEEKOFYR.COM
  821.  
  822.  
  823. WEEKOFYR.COM
  824.  
  825.        Syntax:  WEEKOFYR
  826.  
  827.       Options:  None
  828.  
  829.   Description:  Sets ErrorLevel to current week of the year.
  830.  
  831.          Note:  This function returns the actual week of the year, NOT the
  832.                 Nth 7 day period. The actual week is calculated on a 7 day
  833.                 basis from Sunday morning to Saturday night. For example,
  834.                 if Jan 1 falls on a Wednesday, then Wednesday through Saturday
  835.                 is counted as week 1.  In this case, week 1 is actually only
  836.                 4 days long.  Week 2 begins with Sunday and is in 7 day cycles
  837.                 after that.
  838.  
  839.      See also:  WEEKOFMO.COM
  840.  
  841.  
  842. WHATCPU.COM
  843.  
  844.        Syntax:  WHATCPU
  845.  
  846.       Options:  None
  847.  
  848.   Description:  Sets ErrorLevel to 1 for 8086-8088, 2 for 80286, 3 for 80386,
  849.                 4 for 80486.
  850.  
  851.  
  852. WHATDATE.COM
  853.  
  854.        Syntax:  WHATDATE
  855.  
  856.       Options:  None
  857.  
  858.   Description:  Sets ErrorLevel to the current calendar date. (date of the mo)
  859.  
  860.       Example:  If the system date is May 19, then ErrorLevel is set to 19.
  861.  
  862.      See also:  WHATDAY.COM  WHATMO.COM
  863.  
  864.  
  865. WHATDAY.COM
  866.  
  867.        Syntax:  WHATDAY
  868.  
  869.       Options:  None
  870.  
  871.   Description:  Sets ErrorLevel to the current day of the week. 1 for Sunday
  872.                 2 for Monday, 3 for Tuesday, and so on.
  873.  
  874.      See also:  WHATDATE.COM  WHATMO.COM
  875.  
  876.  
  877. WHATDOS.COM
  878.  
  879.        Syntax:  WHATDOS
  880.  
  881.       Options:  None
  882.  
  883.   Description:  Sets ErrorLevel to the DOS major version number.
  884.  
  885.       Example:  If the your DOS version is 3.3 then ErrorLevel is set to 3.
  886.                 If the your DOS version is 4.01 then ErrorLevel is set to 4.
  887.  
  888.  
  889. WHATEMS.COM
  890.  
  891.        Syntax:  WHATEMS
  892.  
  893.       Options:  None
  894.  
  895.   Description:  Sets ErrorLevel to the EMS driver major version number, 4 for
  896.                 4.00 etc.
  897.  
  898.  
  899. WHATFLOP.COM
  900.  
  901.        Syntax:  WHATFLOP d
  902.  
  903.       Options:  d = drive letter
  904.  
  905.   Description:  Sets ErrorLevel to correspond to the type of floppy disk drive
  906.                 installed in the specified drive.
  907.                    0 = not installed
  908.                    1 = 5.25 inch 360 KB
  909.                    2 = 5.25 inch 1.2 MB
  910.                    3 = 3.5 inch 720 KB
  911.                    4 = 3.5 inch 1.44 MB
  912.                    5 or greater = unknown drive type
  913.  
  914.  
  915. WHATHOUR.COM
  916.  
  917.        Syntax:  WHATHOUR
  918.  
  919.       Options:  None
  920.  
  921.   Description:  Sets ErrorLevel to the current hour in 24 hour format.
  922.  
  923.       Example:  If the time is 1:00pm the ErrorLevel is set to 13.
  924.  
  925.  
  926. WHATKB.COM
  927.  
  928.        Syntax:  WHATKB
  929.  
  930.       Options:  None
  931.  
  932.   Description:  Sets ErrorLevel to 0 for US keyboard, 1 to foreign.
  933.  
  934.  
  935. WHATMO.COM
  936.  
  937.        Syntax:  WHATMO
  938.  
  939.       Options:  None
  940.  
  941.   Description:  Sets ErrorLevel to the current month number. (1-12)
  942.  
  943.       Example:  If the current month is May the ErrorLevel is set to 5.
  944.  
  945.      See also:  WHATDATE.COM  WHATDAY.COM
  946.  
  947.  
  948. WHATVID.COM
  949.  
  950.        Syntax:  WHATVID
  951.  
  952.       Options:  None
  953.  
  954.   Description:  Sets ErrorLevel video type setup as follows:
  955.                    1 = Monochrome adapter
  956.                    2 = Hercules adapter
  957.                    3 = CGA adapter
  958.                    4 = EGA adapter with monochrome monitor
  959.                    5 = EGA adapter with color monitor
  960.                    6 = VGA adapter with monochrome monitor
  961.                    7 = VGA adapter with color monitor
  962.                    8 = MCGA adapter with monochrome monitor
  963.                    9 = MCGA adapter with color monitor
  964.                   10 = EGA adapter with color CGA monitor
  965.                   11 = IBM 8514/A adapter
  966.  
  967.  
  968.  
  969.